import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import PrimeVue from 'primevue/config';
import 'primeicons/primeicons.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'


import Aura from '@primevue/themes/aura';
import App from './App.vue'
import router from './router'

import config from "./common/config";
import Button from 'primevue/button';
import Galleria from 'primevue/galleria';
const app = createApp(App)
app.use(PrimeVue, {
    theme: {
        preset: Aura,
        options: {
            darkModeSelector: '.my-app-dark',
        }
    }
});

app.use(ElementPlus)
app.use(PrimeVue)
app.use(Button)
app.use(Galleria)
app.use(createPinia())
app.config.globalProperties.$config = config;
app.use(router)

app.mount('#app')
